package com.example.demo.manmanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component(value ="manMapper")
public interface ManMapper {

    List<Map<String,Object>> queryAllMenMapper(Map<String, Object> param);

    Map<String,String> queryAllMenCountMapper(Map<String, Object> param);

    int saveManMapper(Map<String, Object> param);

    int saveUploadBookMapper(Map<String, Object> param);

    int delManMapper(Map<String, Object> param);

    int saveZWInfoMapper(Map<String, Object> param);

    Map<String,Object> queryManInfoByID(Map<String, Object> param);

    List<Map<String,Object>> querySHZWInfosByID(Map<String, Object> param);

    int delZWInfoMapper(Map<String, Object> param);

    int editManMapper(Map<String, Object> param);

    int saveUploadLicenseMapper(Map<String, Object> param);

    int saveUploadCardMapper(Map<String, Object> param);

    List<Map<String,Object>> queryAllFreeMenMapper(Map<String, Object> param);

    Map<String,String> queryAllFreeMenCountMapper(Map<String, Object> param);

    List<Map<String,Object>> queryAllSjName(Map<String, Object> param);
}
